<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>glib2</Name>
        <Homepage>https://www.gtk.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>A library of handy utility functions</Summary>
        <Description>glib2 is the low-level core library that forms the basis for projects such as GTK+ and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.</Description>
        <Archive sha1sum="c924652ae8526754e765bbe9cc6ffe6885a7fedf" type="tarxz">mirrors://gnome/glib/2.74/glib-2.74.6.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>meson</Dependency>
            <Dependency>ninja</Dependency>
            <Dependency versionFrom="1.2.12">zlib-devel</Dependency>
            <Dependency>docbook-xsl</Dependency>
            <Dependency versionFrom="3.3">libffi-devel</Dependency>
            <Dependency>elfutils-devel</Dependency>
            <Dependency>libxslt-devel</Dependency><!-- for man=true  -->
            <Dependency versionFrom="2.37.4">libutil-linux-devel</Dependency>
            <Dependency versionFrom="10.40">libpcre2-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">noisy-glib-compile-schemas.diff</Patch>
            <Patch level="1">glib-2.68.2-skip_warnings-1.patch</Patch>
            <Patch level="1">glib2.patch</Patch>
        </Patches>
        <AdditionalFiles>
            <AdditionalFile target="multilib.diff" permission="0644">multilib.diff</AdditionalFile>
        </AdditionalFiles>
    </Source>

    <Package>
        <Name>glib2</Name>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <!--<Dependency>elfutils</Dependency>-->
            <Dependency>libffi</Dependency>
            <Dependency>libpcre2</Dependency>
            <Dependency>libutil-linux</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/etc/profile.d</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/usr/libexec/gio-launch-desktop</Path>
            <Path fileType="executable">/usr/share/bash-completion/completions/</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/glib-2.0</Path>
            <Path fileType="data">/usr/share/systemtap</Path>
            <Path fileType="data">/usr/share/glib-2.0/schemas</Path>
            <Path fileType="data">/usr/share/gettext</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/profile.d/glib2.sh">glib2.sh</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/profile.d/glib2.csh">glib2.csh</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="pakhandler.py">System.PackageHandler</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>glib2-devel</Name>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for glib2</Summary>
        <RuntimeDependencies>
            <Dependency release="current">glib2</Dependency>
            <Dependency>libpcre2-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libffi-devel</Dependency>
            <Dependency>libutil-linux-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/gtester</Path>
            <Path fileType="executable">/usr/bin/gtester-report</Path>
            <Path fileType="executable">/usr/bin/gobject-query</Path>
            <Path fileType="executable">/usr/bin/glib-genmarshal</Path>
            <Path fileType="executable">/usr/bin/glib-gettextize</Path>
            <Path fileType="executable">/usr/bin/glib-mkenums</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="header">/usr/lib/glib-2.0/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
            <Path fileType="data">/usr/share/glib-2.0/schemas/gschema.dtd</Path>
            <Path fileType="data">/usr/share/glib-2.0/gettext</Path>
            <Path fileType="data">/usr/share/glib-2.0/gdb</Path>
            <Path fileType="data">/usr/share/gdb/auto-load/libglib-2.0.so.*-gdb.py*</Path>
            <Path fileType="data">/usr/share/gdb/auto-load/libgobject-2.0.so.*-gdb.py*</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
            <Path fileType="man">/usr/share/man/man1/glib-genmarshal.1</Path>
            <Path fileType="man">/usr/share/man/man1/glib-gettextize.1</Path>
            <Path fileType="man">/usr/share/man/man1/glib-mkenums.1</Path>
            <Path fileType="man">/usr/share/man/man1/gobject-query.1</Path>
            <Path fileType="man">/usr/share/man/man1/gtester-report.1</Path>
            <Path fileType="man">/usr/share/man/man1/gtester.1</Path>
        </Files>
    </Package>

    <Package>
        <Name>glib2-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for glib2</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>libpcre2-32bit</Dependency>
            <Dependency versionFrom="1.2.12">zlib-32bit</Dependency>
            <Dependency>libffi-32bit</Dependency>
            <Dependency>dbus-32bit</Dependency>
            <Dependency>elfutils-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">glib2</Dependency>
            <Dependency>libpcre2-32bit</Dependency>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>libffi-32bit</Dependency>
            <!--Dependency>dbus-32bit</Dependency-->
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/32</Path>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
        <Provides>
            <COMAR script="pakhandler32.py">System.PackageHandler</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>glib2-docs</Name>
        <Summary>Documentation files for glib2</Summary>
        <Description>Extensive documentation for developers wanting to use the GLib Library</Description>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="30">
            <Date>2023-02-23</Date>
            <Version>2.74.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="29">
            <Date>2023-01-28</Date>
            <Version>2.74.5</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="28">
            <Date>2023-01-19</Date>
            <Version>2.74.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="27">
            <Date>2022-12-22</Date>
            <Version>2.74.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="26">
            <Date>2022-11-25</Date>
            <Version>2.74.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="25">
            <Date>2022-10-31</Date>
            <Version>2.74.1</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="24">
            <Date>2022-09-30</Date>
            <Version>2.74.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="23">
            <Date>2022-09-18</Date>
            <Version>2.74.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="22">
            <Date>2022-07-21</Date>
            <Version>2.72.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="21">
            <Date>2022-06-30</Date>
            <Version>2.72.3</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="20">
            <Date>2022-05-31</Date>
            <Version>2.72.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="19">
            <Date>2022-05-05</Date>
            <Version>2.72.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="18">
            <Date>2022-04-24</Date>
            <Version>2.72.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="17">
            <Date>2021-10-22</Date>
            <Version>2.70.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2021-10-03</Date>
            <Version>2.70.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2021-05-27</Date>
            <Version>2.68.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2021-05-03</Date>
            <Version>2.66.2</Version>
            <Comment>Rebuild 32bit fix</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnslp@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2021-02-28</Date>
            <Version>2.66.2</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnslp@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2020-12-09</Date>
            <Version>2.66.2</Version>
            <Comment>Version bump</Comment>
            <Name>İdris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2020-10-09</Date>
            <Version>2.62.4</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2020-04-20</Date>
            <Version>2.62.4</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2020-01-03</Date>
            <Version>2.62.4</Version>
            <Comment>Rebuild.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2019-12-28</Date>
            <Version>2.62.4</Version>
            <Comment>Version bump</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2019-04-05</Date>
            <Version>2.54.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-09-16</Date>
            <Version>2.54.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-07-15</Date>
            <Version>2.50.2</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-03-02</Date>
            <Version>2.50.2</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-08</Date>
            <Version>2.50.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>2.46.2</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-10</Date>
            <Version>2.46.2</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
